Data storing device and method

ABSTRACT

The invention relates to a device for data storing with a compression coding and/or decoding device for the storing of picture data in a compressed or decompressed data format in a data memory. The compression coding and decoding device is adapted to mark or label and subsequently specific retrieve picture segments. This permits individual compression or decompression of labelled picture segments. In a method of storing picture data in a compressed or decompressed data format in a data storing memory, the picture data are divided into data segments. The location information of the data segments is stored. The method and device is preferably used in traffic monitoring installations. The picture data are camera data of a digital camera taking pictures of a traffic situation and a violating vehicle, when traffic regulations are violated such as by speeding. The device and method of the invention permits, for example, to decompress individually the picture segment showing the license plate of a violating vehicle.

BACKGROUND OF THE INVENTION

[0001] The invention relates to a data storing device for the storing of picture data in a compressed or decompressed data format in a data memory, the data storing device having a compression coding and/or decoding device.

[0002] Furthermore the invention relates to a method for storing picture data in a compressed or decompressed data format in a data memory.

[0003] Traffic monitoring installations are used to detect traffic violations such as speeding or crossing a red traffic light. Such traffic monitoring installations take a picture of each violator or his car during the violation. Due to the high amount of violators, a large number of pictures have to be processed. Conventionally, the pictures are recorded on film negatives (see U.S. Pat. Nos. 3,849,784; 3,858,223; 3,866,165; 4,887,080; 5,041,828). The operator is often faced with large quantities of films, which are difficult to process and evaluate.

[0004] In order to facilitate processing of the pictures, digital cameras have been used in such traffic monitoring installations (see U.S. Pat. No. 5,948,038). Such digital cameras offer the advantage that the digital data can directly be processed. Such digital cameras do not require any film negative. Therefore, it is not necessary to develop a film. In addition, evaluating and processing of the data is facilitated. Further savings can be achieved by automating the writing and sending out of the violation tickets. Nevertheless, also such traffic monitoring installations have capacity limits with respect to the quantity of pictures to be stored and processed.

[0005] It is known to reflect information onto the film negatives (U.S. Pat. Nos. 3,603,227; 4,988,994). In a corresponding way digital information blocks are added to the digital pictures, for example information about time and date.

[0006] In the art of digital picture processing, various methods of picture compression are known. Compression formats are known, in which a picture is compressed and the original state is restored, when the picture is decompressed.

[0007] Various methods are used for the compression of digital pictures. Examples of such methods are JPEG-, GIF, and TIF-formats, which are often used in the internet for the transmission of pictures. Such compression methods are mostly standardized, described in the respective literature and well known to a person skilled in the art. Examples of literature describing the various compression methods are: the book by Günther Born “Referenzhandbuch Dateiformate” Addison-Wesley publisher, 2^(nd) revised edition 1992, ISBN 2-89319-446-0/VVA-Nr. 563-00446-4; and the standard IS 10918-1 ITU-T.81). Therefore, these compression methods need not be described in detail. The compression methods are also successfully used in traffic monitoring installations with a digital camera, in order to reduce the quantity of data.

[0008] In all these compression methods, the entire digital picture is compressed and, accordingly, the entire picture is decompressed. The disadvantage thereof is that, always the entire picture has to be decompressed, even if only a certain section of the picture or a certain block of information is needed,. Consequently the procedure is very slow.

[0009] Disclosure of the Invention

[0010] It is an object of the invention to provide a device and a method for picture compression which allows a quick retrieval of essential picture information for decompression while still having optimum compression of the picture data.

[0011] To this end, in a data storing device having a compression coding and/or decoding device for the storing of picture data in a compressed or decompressed data format in a data memory, the compression coding and/or decoding device includes means for labelling or marking data segments or blocks of information, and means for detecting such labelled or marked segments.

[0012] The invention is based on the discovery, that quite often only specific picture segments of a compressed picture file or blocks of information are demanded for display or further processing and, thus, have to be decompressed. According to the basic concept of the invention, therefore, such segments or blocks are labelled or marked during the compression process. When the decompressed picture data of such segments are demanded, the labelled or marked segments can be detected and restored to their original state by a decompression process, while the remaining stored picture data need not be decompressed. This offers great advantages with respect to speed. The location information can be added to the compressed picture file, for example or stored in a separate file.

[0013] Preferably, the compression coding and decoding device is a programmed digital computer.

[0014] Advantageously, a picture generating unit is provided for the generation of digital picture data. The picture generating unit can be a digital camara, for example. It can also be a scanner which digitises an original picture and generates the corresponding picture data.

[0015] The data storing device may be used in a traffic monitoring installation.

[0016] Often picture information is lost by the compression. It may be nessecary, on one hand, to retain all picture information of certain selected picture segments. On the other hand, the picture data file should still consume as little memory space as possible. To this end, the different data segments may be compressed to a different degree or may not compressed at all. By labelling or marking, certain picture areas can be determined which should not be compressed at all, or should be compressed to a lesser degree. From this compressed picture file individual data segments can be selected and decompressed if required.

BRIEF DESCRIPTION OF THE DRAWINGS

[0017]FIG. 1 is a schematic illustration of the basic principle of picture data compression and decompression according to the prior

[0018]FIG. 2 is a schematic illustration of the principle of picture data compression and decompression with data segmentation of the invention.

[0019]FIG. 3 a schematic illustration of a segmented digital picture with different degrees of compression

[0020]FIG. 4 is a schematic illustration of a segmented digital picture with a uniform degree of compression

PREFERRED EMBODIMENT OF THE INVENTION

[0021]FIG. 1 is a schematic illustration of the principle of picture data compression and decompression according to the prior art as used, for example, in traffic monitoring installations. Picture data 10 are stored in a memory 12 in the form of digital raw data from a digital camera 11. A compression coder 14 accesses the memory 12 and reads the picture data 10. The reading process is indicated by arrow 16. Then the read picture data 10 are compressed by compression coder 14, and the compressed picture data 20 are rewritten into the memory 12. The writing process into the memory is indicated by arrow 18. For the compression, one memory 12 can be used as in the illustration of FIG. 1; but it is also possible to use a plurality of separate memory areas.

[0022] For the display of the picture by means of a suitable peripheral display device accessing the memory, the compressed picture data 20 have to be decompressed. Therefore the compressed picture data 20 are read by a compression decoder 22. The reading process is indicated by arrow 24. After the decompression of the compressed picture data 20 by the compression decoder 22 the picture data are written back into the memory 12. The writing process of the decompressed picture data 10 into the memory 12 is indicated by arrow 26. The compression coder 14 or decoder 22 can be one unit, for example a program controlled processor.

[0023]FIG. 2 is a schematic illustration of the principle of picture data compression or decompression of the invention as used, for example, in a traffic monitoring installation. Similar to the prior art, the picture data 10 from, for example, a digital camera 11 are written into a memory 12 in the form of raw digital data. The compression coder 14 accesses the memory 12 and reads the picture data 10 for the compression process. The reading process is indicated by arrow 16. Then the read picture data 10 are divided into data segments by the compression coder 14 and labeled. These data segments are compressed and rewritten into the memory 12. The process of writing into the memory is indicated by arrow 18. The block 20 represents the compressed data segments of the picture data 10 in the memory 12. For example, data segments 30, 32 of the original picture 10 correspond to the compressed data segments 31 and 33. Additionally location information 28 for all data segments is written into the memory 12. In this embodiment, the location information 28 consists of labels , i.e. of information about the position of the respective data segments in the memory. The process of writing the location information 28 into the memory 12 by the compression coder 14 is indicated by arrow 29.

[0024] One single memory 12 as in FIG. 2 can be used for the compression process, but the use of a plurality of memory areas is also possible.

[0025] For displaying the picture by means of corresponding peripheral display devices the compressed picture data 20 have to be decompressed. Therefore, the compressed picture data 20 are read by a compression decoder 22. The reading process is indicated by arrow 24. After the decompression of the compressed picture data 20 by the compression decoder 22, the picture data are again written into the memory 12. The process of writing the decompressed picture data 10 into the memory 12 is indicated by arrow 26. The compression coder 14 and decoder 22 can be one single unit, for example a program controlled processor.

[0026] Often, it is sufficient to display only certain picture areas or segments 30 or 32 of the entire picture 10. The compression decoder 22 then reads the location information 28 of the respective picture data segments and decompresses only those picture segments 30, 32. The reading process of the respective location information 28 is indicated by arrow 34. The decompressed data segments are then written into the memory 12. Thereby, it is not necessary to decompress the entire picture 20, if only the information from certain picture segments 30, 32 of the picture is required.

[0027]FIG. 3 shows a schematic drawing of the principle of a segmented digital picture 20, as stored in the memory 12 after compression to different degrees of compression. The data segments 36 are separated in this illustration by double lines 38 which also symbolise the labels of the data segments 36. The labels 38 are numbered. The data segments 36 are compressed to a different degree. The non-hatched data segments 40 are not compressed at all, the hatched data segments are slightly compressed and the cross-hatched data segments are heavily compressed.

[0028]FIG. 4 is a schematic drawing of a segmented digital picture 20, as stored in the memory 12 after compression. Contrary to FIG. 3, this picture is compressed to a uniform degree of compression. The data segments 36 are separated in this illustration by double lines 38 which also symbolise the labels of the data segments 36. The labels 38 are numbered. The data segments are uniformly compressed as indicated by simple hatching. 

I claim:
 1. A data storing device comprising a data memory and compression coding and/or decoding means, for the storing of picture data in a compressed or decompressed data format, wherein said compression coding and decoding means include means for labelling and retrieving selected data segments.
 2. A device as claimed in claim 1, wherein said compression coding decoding means comprises programmed digital computer means.
 3. A device as claimed in claim 1, and further including picture generating means for generating digital picture data and means for supplying said digital picture data to said compression coding and/or decoding means.
 4. A device as claimed in claim 1, and further comprising a traffic monitoring installation with a digital camera, said digital camera generating camera data representing the picture of a traffic scene; and means for supplying said camera data as said picture data to said compression coding and/or decoding means.
 5. A method of storing picture data in a compressed or decompressed data format in a data storing memory, comprising the steps of: dividing said picture data into data segments, at least one of said data segments having a location represented by location information, storing said location information of said at least one data segment.
 6. A method as claimed in claim 5, and further comprising the steps of: reading said stored location information of one of said at least one data segment, and compressing or decompressing, respectively, selectively said at least one data segment.
 7. A method as claimed in claim 6, wherein said data segments are compressed to associated different degrees of compression.
 8. A method as claimed in claim 7, and further comprising the steps of: selecting one of said at least one data segment using said location information, and decompressing said selected data segment in accordance with its associated degree of compression.
 9. A method of storing picture data representing a traffic scene in a compressed or decompressed data format in a data storing memory, comprising the steps of: generating a picture of a traffic scene by means of a digital camera of a traffic monitoring installation, whereby picture data representing the picture of said traffic scene are generated; dividing said picture data into data segments, at least one of said data segments having a location represented by location information; storing said location information of said at least one data segment; compressing said data segments; selecting said at least one data segment using said location information, and decompressing said selected data segment independently of other ones of said data segments. 